package com.suyang.syt.model.dto;

import java.util.List;

import com.suyang.syt.model.Bug;
import com.suyang.syt.model.BugReply;

@SuppressWarnings("serial")
public class BugDTO extends Bug {
	/**接收回复内容用*/
	private String bugReplys;
	/**回复列表*/
	private List<BugReply> listBugReplys;
	
	public BugDTO() {
		
	}
	
	public BugDTO(Bug bug) {
		this.setNote(bug.getNote());
		this.setBtid(bug.getBtid());
		this.setBtname(bug.getBtname());
		this.setCreateName(bug.getCreateName());
		this.setCreateTime(bug.getCreateTime());
		this.setId(bug.getId());
		this.setJianpin(bug.getJianpin());
		this.setQuanpin(bug.getQuanpin());
		this.setModifyName(bug.getModifyName());
		this.setModifyTime(bug.getModifyTime());
		this.setName(bug.getName());
		this.setOrderIndex(bug.getOrderIndex());
		this.setStatus(bug.getStatus());
	}

	public String getBugReplys() {
		return bugReplys;
	}

	public void setBugReplys(String bugReplys) {
		this.bugReplys = bugReplys;
	}

	public List<BugReply> getListBugReplys() {
		return listBugReplys;
	}

	public void setListBugReplys(List<BugReply> listBugReplys) {
		this.listBugReplys = listBugReplys;
	}

}
